/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package firstSteps;

import org.restlet.Application;
import org.restlet.Directory;
import org.restlet.Restlet;
import org.restlet.Router;

/**
 *
 * @author selkhateeb
 */
public class FirstStepsApplication extends Application
{

    @Override
    public synchronized Restlet createRoot()
    {

        Router router = new Router(getContext());

        router.attachDefault(HelloWorldResource.class);

        return router;

    }
}